(prompt "Select C compiler environment to install")
(choices "SAS/C" "Other")
(help "Currently fully supported only SAS/C")
(default 0)
)
)
(if (= a_compiler 0)
(
(set a_editor
(askchoice
(prompt "Select editor environment to install")
(choices "GoldEd" "SAS/C SE" "Other")
(help "Currently fully supported only GoldEd 4.xx and SAS/C SE editor")
(default 0)
)
)
)
)
(set #ddir
(askdir
(prompt "Select destination directory to install (directory called \"PManager\" will be created there).\n Or select PManager parent directory to update old version.")
(help @askdir-help)
(default @default-dest)
)
)
(set @default-dest (tackon #ddir "PManager"))
(copylib
(prompt "Installing the WBStart.library")
(help "")
(source "config/libs/wbstart.library")
(dest "Libs:")
(confirm)
)
(makedir @default-dest)
(copyfiles
(source "/PManager.info")
(dest #ddir)
)
(makedir @default-dest)
(copyfiles
(source "docs.info")
(dest @default-dest)
)
(copyfiles
(source "config/")
(choices "PManager.info" "PManager")
(dest @default-dest)
)
(makedir (tackon @default-dest "docs"))
(run ("delete %s/sc all force" @default-dest))
(run ("delete %s/sc.info all force" @default-dest))
(run ("delete %s/arexx all force" @default-dest))
(run ("delete %s/arexx.info all force" @default-dest))